//
//  StoreCell.m
//  LvXingPai
//
//  Created by mafang on 16/8/12.
//  Copyright © 2016年 _Junxee. All rights reserved.
//

#import "StoreCell.h"

@interface StoreCell ()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UILabel *aveaLabel;

@property (weak, nonatomic) IBOutlet UILabel *languageLabel;
@end

@implementation StoreCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setDetailModel:(DetailModel *)detailModel
{
    _detailModel = detailModel;
    self.nameLabel.text = detailModel.name;
    self.aveaLabel.text = [NSString stringWithFormat:@"%@ %@",detailModel.country,detailModel.locality];
    self.languageLabel.text = detailModel.lang;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
